<?php
$this->breadcrumbs=array(
	'User Profiles'=>array('index'),
	$model->display_name,
);

$this->menu=array(
	array('label'=>'List UserProfiles', 'url'=>array('index')),
	array('label'=>'Create UserProfiles', 'url'=>array('create')),
	array('label'=>'Update UserProfiles', 'url'=>array('update', 'id'=>$model->id)),
	array('label'=>'Delete UserProfiles', 'url'=>'#', 'linkOptions'=>array('submit'=>array('delete','id'=>$model->id),'confirm'=>'Are you sure you want to delete this item?')),
	array('label'=>'Manage UserProfiles', 'url'=>array('admin')),
);

$user_info = Users::model()->findbyPk($model->id);
?>
<div class="main-box border-line">
    <div class="main-title">
        <span>View UserProfiles: <?php echo $model->display_name; ?></span>
    </div>
    <div class="main-content">
        <h3 class="title-bg"><?php echo $model->display_name; ?></h3>
    <div class="user-detail">
        <div class="user-detail-01">
        <div class="user-detail-avatar">
        <fieldset>
        <legend>Avatar</legend>
            <div class="comment-avatar border-shadow"><img src="<?php if($model!=null AND $model->avatar!=null){ echo Yii::app()->request->baseUrl;?>/data/<?php echo $model->avatar;} else echo Yii::app()->request->baseUrl."/images/noavatar.gif";?>" height="100px" width="100px" /></div>
        </fieldset>
        </div>
        
        <div class="user-detail-name">
        <fieldset>
        <legend>Name</legend>
            <p><b>DisplayName: </b><span><?php echo $model->display_name; ?></span></p>
            <p><b>UserName: </b><span><?php echo $user_info->username; ?></span></p>
            <p><b>Email: </b><span><?php echo $user_info->email; ?></span></p>
        </fieldset>
        </div>
        </div>
        <div class="user-detail-02">
        <fieldset>
        <legend>Basic Informations</legend>
            <p><b>First Name: </b><span><?php echo $model->first_name; ?></span></p>
            <p><b>Last Name: </b><span><?php echo $model->last_name; ?></span></p>
            <p><b>Birthday: </b><span><?php echo $model->dob; ?></span></p>
            <p><b>Company: </b><span><?php echo $model->company; ?></span></p>
        </fieldset>
        </div>
        <div class="user-detail-03">
        <fieldset>
        <legend>Advance Informations</legend>
            <p><b>Gender: </b><span><?php echo $model->gender; ?></span></p>
            <p><b>Phone: </b><span><?php echo $model->phone; ?></span></p>
            <p><b>Mobile: </b><span><?php echo $model->mobile; ?></span></p>
            <p><b>Address: </b><span><?php echo $model->address_line1; ?></span></p>
            <p><b>&nbsp;</b><span><?php echo $model->address_line2; ?></span></p>
            <p><b>&nbsp;</b><span><?php echo $model->address_line3; ?></span></p>
            <p><b>Yahoo Handle: </b><span><?php echo $model->yim_handle; ?></span></p>
            <p><b>Skype Handle: </b><span><?php echo $model->skype_handle; ?></span></p>
            <p><b>Website: </b><span><?php echo $model->website; ?></span></p>
            <p><b>Facebook: </b><span><?php echo $model->facebooksite; ?></span></p>
            <p><b>Biography: </b><span></span></p>
            <div class="border-line border-round" style="margin-left: 150px;"><?php echo $model->bio; ?></div>
        </fieldset>
        </div>
        <div class="user-detail-04"></div>
    </div>
    
    
    </div>
</div>